package com.alibaba.dubbo.demo.provider.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.demo.SelectService;
import com.alibaba.dubbo.demo.provider.dao.MessageMapper;
import com.alibaba.dubbo.demo.provider.po.Message;


@Service
public class SelectServiceImpl implements SelectService  {
	@Autowired
	private MessageMapper messageMapper;
	public Message sel(int id) {
		return messageMapper.selectByPrimaryKey(id);
	}

}
